import { PokerHand } from "./PokerHand.js";
import { PokerCard } from "../PokerCard.js";
export type { PokerCard } from "../PokerCard.js";

/** 错误的手牌类型 */
export class ErrorPokerHand extends PokerHand {
  public get value() {
    return 0;
  }
  constructor(cards: PokerCard[]) {
    super(cards);
  }
  public isBetter(target: PokerHand) {
    return false;
  }

  public isStandard(cards: PokerCard[]): boolean {
    return true;
  }
}
export default ErrorPokerHand;
